package hcn.protocol.ods;

import hcn.protocol.ods.diagnosis.DiagnosisFeeRecordBean;
import hcn.protocol.ods.diagnosis.PrecalculatedFeeRecordBean;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Project: hcn-transformer
 * Author: xinggj  sixtynine@live.cn
 * Date: 2016/8/1 13:00
 * Description:
 */
@XmlRootElement(name = "comfirmTicketRequest")
public class ConfirmTicketRequestBean implements Serializable {

    private String orgId;
    private String patientId;
    private String regRecordId;
    private int payFlag; //0 否 1 是
    private String tradeType;
    private String tradeNo;
    private  String precalId;
    private Date tradeDate;
    private  String payer;
    private  String selfPay;
    private String  payState;
    private  String payType;
    private List<PrecalculatedFeeRecordBean> feeRecords;

    public ConfirmTicketRequestBean() {
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getRegRecordId() {
        return regRecordId;
    }

    public void setRegRecordId(String regRecordId) {
        this.regRecordId = regRecordId;
    }

    public int getPayFlag() {
        return payFlag;
    }

    public void setPayFlag(int payFlag) {
        this.payFlag = payFlag;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getPrecalId() {
        return precalId;
    }

    public void setPrecalId(String precalId) {
        this.precalId = precalId;
    }

    public Date getTradeDate() {
        return tradeDate;
    }

    public void setTradeDate(Date tradeDate) {
        this.tradeDate = tradeDate;
    }

    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    public String getSelfPay() {
        return selfPay;
    }

    public void setSelfPay(String selfPay) {
        this.selfPay = selfPay;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    @XmlElementWrapper(name = "feeRecords")
    @XmlElement(name = "feeRecord")
    public List<PrecalculatedFeeRecordBean> getFeeRecords() {
        return feeRecords;
    }

    public void setFeeRecords(List<PrecalculatedFeeRecordBean> feeRecords) {
        this.feeRecords = feeRecords;
    }
}
